package com.example.videoworks.mapper;

import com.example.videoworks.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lily
 * @since 2023-05-11
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Insert("insert into user values (#{userId}, #{phone}, #{email}, #{password}, #{nickname}, #{profile}")
    public int addOne(User user);


}
